package vip.web3.admin.sys.service.biz;

import com.baomidou.mybatisplus.extension.service.IService;
import vip.web3.admin.sys.entity.biz.ARecordEntity;
import vip.web3.admin.sys.form.user.RecordEditForm;
import vip.web3.admin.sys.form.user.RecordPageForm;
import vip.web3.admin.sys.vo.biz.export.*;
import vip.web3.common.utils.PageUtils;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

/**
 * 分红明细Service接口
 *
 * aut-horlilei
 * @date 2024-09-27
 */
public interface IARecordService extends IService<ARecordEntity> {

    /**
     * 批量删除分红明细
     *
     * @param ids 需要删除的分红明细主键集合
     * @return 结果
     */
    int deleteARecordByIds(String ids);

    List<ARecordEntity> listRechargeRecord();

    List<ARecordEntity> listWithdrawRecord();

    void addRewardRecord(Integer userId,
                         String mobile,
                         Integer type,
                         String typeName,
                         String remark,
                         BigDecimal amount,
                         BigDecimal fee,
                         Integer operateType,
                         String address,
                         Integer status);

    PageUtils pageRecords(Map<String, Object> params, RecordPageForm form);

    void edit(RecordEditForm form);

    List<ExRecordVo> exRecord(Map<String, Object> params, RecordPageForm form);

    List<ExReCnyVo> exReCny(Map<String, Object> params, RecordPageForm form);

    List<ExReUsdtVo> exReUsdt(Map<String, Object> params, RecordPageForm form);

    List<ExCnyVo> exCny(Map<String, Object> params, RecordPageForm form);

    List<ExUsdtVo> exUsdt(Map<String, Object> params, RecordPageForm form);
}
